package com.itheima.service.impl;

import com.itheima.pojo.Emp;
import com.itheima.pojo.PageBean;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.stereotype.Service;

import java.time.LocalDate;
import java.util.List;

/**
 * @version 1.0
 * @Author 郭腾高
 * @Date 2024/9/4 20:31
 */
@Service
public interface EmpService {

    PageBean empList(Integer page, Integer pageSize , String name,
                     Short gender, LocalDate begin,
                     LocalDate end);

    void empDelete(List<Integer> ids);

    void insert(Emp emp);

    Emp getById(Integer id);

    void updateById(Emp emp);

    Emp login(Emp emp);

    void deleteByDeptId(Integer deptId);
}
